package model

type ProdIdsQueryModel struct {
	ProdID uint64 `gorm:"column:prod_id"`
}

type GroupRefQueryModel struct {
	ProdID  uint64 `gorm:"column:prod_id"`
	GroupId uint32 `gorm:"column:group_id"`
	// 分组名称
	GroupName string `gorm:"column:name"`
}

type ProdTypeQueryModel struct {
	ProdTypeID uint32 `gorm:"column:sync_type_id"`
}

type OrderDigestModel struct {
	DeliverType   uint8  `gorm:"column:deliver_type"`
	WarehouseName string `gorm:"column:warehouse_name"`
	Trans         uint64 `gorm:"column:trans"`
	ProdCount     uint32 `gorm:"column:prod_count"`
}

type RefundDetailModel struct {
	// DetailID
	DetailId uint64 `gorm:"column:detail_id"`
	// 售后单号
	ApplyNumber string `gorm:"column:apply_number"`
	// 退货单号
	PlatformOrderNo string `gorm:"column:platform_order_num"`
	// 退货金额
	Trans uint64 `gorm:"column:trans"`
	// 售后单状态
	Status uint8 `gorm:"column:status"`
	// 售后退款单状态
	PayStatus uint8 `gorm:"column:pay_status"`
	// 售后退货单状态
	InventoryStatus uint8 `gorm:"column:inventory_status"`
	// 退货平台名称
	PlatformName string `gorm:"column:platform"`
	// 申请类型
	ApplyType uint8 `gorm:"column:apply_type"`
}
